package com.softserveinc.interactive_board.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/administration")
public class AdminHomeController {
	
	@RequestMapping(method = RequestMethod.GET)
	public String def() {
		return "redirect:/administration/";
	}
	
	@RequestMapping("/")
	public String index() {
		return "redirect:/administration/users/";
	}

}
